Add Counter

This function will add a number sequence to your lines. The first line will get the initial number and then this number is increased for each line.

Customizing the Counter

The counter is a global object that can be used in many situations, including the above "Add Counter" function. You can customize the counter to suit your taste. Read more about the counter object here.

Tip: Learn how to use the <counter> tag for full control of where the counter is placed. Read more about format tags here.